<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>fdk-aac: original/libSACdec/src/sac_dec.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">fdk-aac
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_ed137715e08969a186ec660e8ae6e2fb.html">original</a></li><li class="navelem"><a class="el" href="dir_7a422512ea44e382d598b3d41431ca3b.html">libSACdec</a></li><li class="navelem"><a class="el" href="dir_fed01bce0543f0855d9418429f995c68.html">src</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">sac_dec.h</div>  </div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">/* -----------------------------------------------------------------------------</span></div>
<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment">Software License for The Fraunhofer FDK AAC Codec Library for Android</span></div>
<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment"></span> </div>
<div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment">© Copyright  1995 - 2019 Fraunhofer-Gesellschaft zur Förderung der angewandten</span></div>
<div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment">Forschung e.V. All rights reserved.</span></div>
<div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment"></span> </div>
<div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment"> 1.    INTRODUCTION</span></div>
<div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="comment">The Fraunhofer FDK AAC Codec Library for Android (&quot;FDK AAC Codec&quot;) is software</span></div>
<div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="comment">that implements the MPEG Advanced Audio Coding (&quot;AAC&quot;) encoding and decoding</span></div>
<div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="comment">scheme for digital audio. This FDK AAC Codec software is intended to be used on</span></div>
<div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="comment">a wide variety of Android devices.</span></div>
<div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="comment"></span> </div>
<div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="comment">AAC&#39;s HE-AAC and HE-AAC v2 versions are regarded as today&#39;s most efficient</span></div>
<div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="comment">general perceptual audio codecs. AAC-ELD is considered the best-performing</span></div>
<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="comment">full-bandwidth communications codec by independent studies and is widely</span></div>
<div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="comment">deployed. AAC has been standardized by ISO and IEC as part of the MPEG</span></div>
<div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="comment">specifications.</span></div>
<div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="comment"></span> </div>
<div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="comment">Patent licenses for necessary patent claims for the FDK AAC Codec (including</span></div>
<div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="comment">those of Fraunhofer) may be obtained through Via Licensing</span></div>
<div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="comment">(www.vialicensing.com) or through the respective patent owners individually for</span></div>
<div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="comment">the purpose of encoding or decoding bit streams in products that are compliant</span></div>
<div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;<span class="comment">with the ISO/IEC MPEG audio standards. Please note that most manufacturers of</span></div>
<div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;<span class="comment">Android devices already license these patent claims through Via Licensing or</span></div>
<div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;<span class="comment">directly from the patent owners, and therefore FDK AAC Codec software may</span></div>
<div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;<span class="comment">already be covered under those patent licenses when it is used for those</span></div>
<div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;<span class="comment">licensed purposes only.</span></div>
<div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;<span class="comment"></span> </div>
<div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;<span class="comment">Commercially-licensed AAC software libraries, including floating-point versions</span></div>
<div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;<span class="comment">with enhanced sound quality, are also available from Fraunhofer. Users are</span></div>
<div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;<span class="comment">encouraged to check the Fraunhofer website for additional applications</span></div>
<div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;<span class="comment">information and documentation.</span></div>
<div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;<span class="comment"></span> </div>
<div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;<span class="comment">2.    COPYRIGHT LICENSE</span></div>
<div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;<span class="comment"></span> </div>
<div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;<span class="comment">Redistribution and use in source and binary forms, with or without modification,</span></div>
<div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;<span class="comment">are permitted without payment of copyright license fees provided that you</span></div>
<div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;<span class="comment">satisfy the following conditions:</span></div>
<div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;<span class="comment"></span> </div>
<div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;<span class="comment">You must retain the complete text of this software license in redistributions of</span></div>
<div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;<span class="comment">the FDK AAC Codec or your modifications thereto in source code form.</span></div>
<div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;<span class="comment"></span> </div>
<div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;<span class="comment">You must retain the complete text of this software license in the documentation</span></div>
<div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;<span class="comment">and/or other materials provided with redistributions of the FDK AAC Codec or</span></div>
<div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;<span class="comment">your modifications thereto in binary form. You must make available free of</span></div>
<div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;<span class="comment">charge copies of the complete source code of the FDK AAC Codec and your</span></div>
<div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;<span class="comment">modifications thereto to recipients of copies in binary form.</span></div>
<div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;<span class="comment"></span> </div>
<div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;<span class="comment">The name of Fraunhofer may not be used to endorse or promote products derived</span></div>
<div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;<span class="comment">from this library without prior written permission.</span></div>
<div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;<span class="comment"></span> </div>
<div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;<span class="comment">You may not charge copyright license fees for anyone to use, copy or distribute</span></div>
<div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;<span class="comment">the FDK AAC Codec software or your modifications thereto.</span></div>
<div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;<span class="comment"></span> </div>
<div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;<span class="comment">Your modified versions of the FDK AAC Codec must carry prominent notices stating</span></div>
<div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;<span class="comment">that you changed the software and the date of any change. For modified versions</span></div>
<div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;<span class="comment">of the FDK AAC Codec, the term &quot;Fraunhofer FDK AAC Codec Library for Android&quot;</span></div>
<div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;<span class="comment">must be replaced by the term &quot;Third-Party Modified Version of the Fraunhofer FDK</span></div>
<div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;<span class="comment">AAC Codec Library for Android.&quot;</span></div>
<div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;<span class="comment"></span> </div>
<div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;<span class="comment">3.    NO PATENT LICENSE</span></div>
<div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;<span class="comment"></span> </div>
<div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;<span class="comment">NO EXPRESS OR IMPLIED LICENSES TO ANY PATENT CLAIMS, including without</span></div>
<div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;<span class="comment">limitation the patents of Fraunhofer, ARE GRANTED BY THIS SOFTWARE LICENSE.</span></div>
<div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;<span class="comment">Fraunhofer provides no warranty of patent non-infringement with respect to this</span></div>
<div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;<span class="comment">software.</span></div>
<div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;<span class="comment"></span> </div>
<div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;<span class="comment">You may use this FDK AAC Codec software or modifications thereto only for</span></div>
<div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;<span class="comment">purposes that are authorized by appropriate patent licenses.</span></div>
<div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;<span class="comment"></span> </div>
<div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;<span class="comment">4.    DISCLAIMER</span></div>
<div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;<span class="comment"></span> </div>
<div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;<span class="comment">This FDK AAC Codec software is provided by Fraunhofer on behalf of the copyright</span></div>
<div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;<span class="comment">holders and contributors &quot;AS IS&quot; and WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES,</span></div>
<div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;<span class="comment">including but not limited to the implied warranties of merchantability and</span></div>
<div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;<span class="comment">fitness for a particular purpose. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR</span></div>
<div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;<span class="comment">CONTRIBUTORS BE LIABLE for any direct, indirect, incidental, special, exemplary,</span></div>
<div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;<span class="comment">or consequential damages, including but not limited to procurement of substitute</span></div>
<div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;<span class="comment">goods or services; loss of use, data, or profits, or business interruption,</span></div>
<div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;<span class="comment">however caused and on any theory of liability, whether in contract, strict</span></div>
<div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;<span class="comment">liability, or tort (including negligence), arising in any way out of the use of</span></div>
<div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;<span class="comment">this software, even if advised of the possibility of such damage.</span></div>
<div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;<span class="comment"></span> </div>
<div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;<span class="comment">5.    CONTACT INFORMATION</span></div>
<div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;<span class="comment"></span> </div>
<div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;<span class="comment">Fraunhofer Institute for Integrated Circuits IIS</span></div>
<div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;<span class="comment">Attention: Audio and Multimedia Departments - FDK AAC LL</span></div>
<div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;<span class="comment">Am Wolfsmantel 33</span></div>
<div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;<span class="comment">91058 Erlangen, Germany</span></div>
<div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160;<span class="comment"></span> </div>
<div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;<span class="comment">www.iis.fraunhofer.de/amm</span></div>
<div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;<span class="comment">amm-info@iis.fraunhofer.de</span></div>
<div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;<span class="comment">----------------------------------------------------------------------------- */</span></div>
<div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160; </div>
<div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;<span class="comment">/*********************** MPEG surround decoder library *************************</span></div>
<div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;<span class="comment"></span> </div>
<div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;<span class="comment">   Author(s):</span></div>
<div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;<span class="comment"></span> </div>
<div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160;<span class="comment">   Description: SAC Decoder Library structures</span></div>
<div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160;<span class="comment"></span> </div>
<div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160;<span class="comment">*******************************************************************************/</span></div>
<div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160; </div>
<div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160;<span class="preprocessor">#ifndef SAC_DEC_H</span></div>
<div class="line"><a name="l00104"></a><span class="lineno">  104</span>&#160;<span class="preprocessor">#define SAC_DEC_H</span></div>
<div class="line"><a name="l00105"></a><span class="lineno">  105</span>&#160; </div>
<div class="line"><a name="l00106"></a><span class="lineno">  106</span>&#160;<span class="preprocessor">#include &quot;common_fix.h&quot;</span></div>
<div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160; </div>
<div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160;<span class="preprocessor">#include &quot;sac_dec_interface.h&quot;</span> <span class="comment">/* library interface in ../include */</span></div>
<div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160; </div>
<div class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160;<span class="preprocessor">#include &quot;FDK_qmf_domain.h&quot;</span></div>
<div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160;<span class="preprocessor">#include &quot;sac_qmf.h&quot;</span></div>
<div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160;<span class="preprocessor">#include &quot;FDK_bitstream.h&quot;</span> <span class="comment">/* mp4 bitbuffer */</span></div>
<div class="line"><a name="l00113"></a><span class="lineno">  113</span>&#160;<span class="preprocessor">#include &quot;sac_calcM1andM2.h&quot;</span></div>
<div class="line"><a name="l00114"></a><span class="lineno">  114</span>&#160;<span class="preprocessor">#include &quot;FDK_hybrid.h&quot;</span></div>
<div class="line"><a name="l00115"></a><span class="lineno">  115</span>&#160;<span class="preprocessor">#include &quot;FDK_decorrelate.h&quot;</span></div>
<div class="line"><a name="l00116"></a><span class="lineno">  116</span>&#160;<span class="preprocessor">#include &quot;sac_reshapeBBEnv.h&quot;</span></div>
<div class="line"><a name="l00117"></a><span class="lineno">  117</span>&#160; </div>
<div class="line"><a name="l00118"></a><span class="lineno">  118</span>&#160;<span class="preprocessor">#include &quot;sac_dec_conceal.h&quot;</span></div>
<div class="line"><a name="l00119"></a><span class="lineno">  119</span>&#160; </div>
<div class="line"><a name="l00120"></a><span class="lineno">  120</span>&#160;<span class="preprocessor">#include &quot;sac_tsd.h&quot;</span></div>
<div class="line"><a name="l00121"></a><span class="lineno">  121</span>&#160; </div>
<div class="line"><a name="l00122"></a><span class="lineno">  122</span>&#160;<span class="preprocessor">#ifndef MAX</span></div>
<div class="line"><a name="l00123"></a><span class="lineno">  123</span>&#160;<span class="preprocessor">#define MAX(a, b) ((a) &gt; (b) ? (a) : (b))</span></div>
<div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160; </div>
<div class="line"><a name="l00126"></a><span class="lineno">  126</span>&#160;<span class="preprocessor">#define ICCdefault 0</span></div>
<div class="line"><a name="l00127"></a><span class="lineno">  127</span>&#160;<span class="preprocessor">#define IPDdefault 0</span></div>
<div class="line"><a name="l00128"></a><span class="lineno">  128</span>&#160;<span class="preprocessor">#define arbdmxGainDefault 0</span></div>
<div class="line"><a name="l00129"></a><span class="lineno">  129</span>&#160;<span class="preprocessor">#define CPCdefault 10</span></div>
<div class="line"><a name="l00130"></a><span class="lineno">  130</span>&#160;<span class="preprocessor">#define tttCLD1default 15</span></div>
<div class="line"><a name="l00131"></a><span class="lineno">  131</span>&#160;<span class="preprocessor">#define tttCLD2default 0</span></div>
<div class="line"><a name="l00132"></a><span class="lineno">  132</span>&#160; </div>
<div class="line"><a name="l00133"></a><span class="lineno">  133</span>&#160;<span class="preprocessor">#define IS_HQ_ONLY(aot)                                                      \</span></div>
<div class="line"><a name="l00134"></a><span class="lineno">  134</span>&#160;<span class="preprocessor">  ((aot) == AOT_ER_AAC_LD || (aot) == AOT_ER_AAC_ELD || (aot) == AOT_USAC || \</span></div>
<div class="line"><a name="l00135"></a><span class="lineno">  135</span>&#160;<span class="preprocessor">   (aot) == AOT_RSVD50)</span></div>
<div class="line"><a name="l00136"></a><span class="lineno">  136</span>&#160; </div>
<div class="line"><a name="l00137"></a><span class="lineno">  137</span>&#160;<span class="preprocessor">#define SCONST(x) FL2FXCONST_DBL(x)</span></div>
<div class="line"><a name="l00138"></a><span class="lineno">  138</span>&#160; </div>
<div class="line"><a name="l00139"></a><span class="lineno">  139</span>&#160;<span class="preprocessor">#define PC_NUM_BANDS (8)</span></div>
<div class="line"><a name="l00140"></a><span class="lineno">  140</span>&#160;<span class="preprocessor">#define PC_NUM_HYB_BANDS (PC_NUM_BANDS - 3 + 10)</span></div>
<div class="line"><a name="l00141"></a><span class="lineno">  141</span>&#160;<span class="preprocessor">#define ABS_THR (1e-9f * 32768 * 32768)</span></div>
<div class="line"><a name="l00142"></a><span class="lineno">  142</span>&#160; </div>
<div class="line"><a name="l00143"></a><span class="lineno">  143</span>&#160;<span class="preprocessor">#define MAX_HYBRID_BANDS (MAX_NUM_QMF_BANDS - 3 + 10)</span></div>
<div class="line"><a name="l00144"></a><span class="lineno">  144</span>&#160;<span class="preprocessor">#define HYBRID_FILTER_DELAY (6)</span></div>
<div class="line"><a name="l00145"></a><span class="lineno">  145</span>&#160; </div>
<div class="line"><a name="l00146"></a><span class="lineno">  146</span>&#160;<span class="preprocessor">#define MAX_RESIDUAL_FRAMES (4)</span></div>
<div class="line"><a name="l00147"></a><span class="lineno">  147</span>&#160;<span class="preprocessor">#define MAX_RESIDUAL_BISTREAM \</span></div>
<div class="line"><a name="l00148"></a><span class="lineno">  148</span>&#160;<span class="preprocessor">  (836) </span><span class="comment">/*  48000 bps * 3 res / (8 * 44100 / 2048 ) */</span><span class="preprocessor"></span></div>
<div class="line"><a name="l00149"></a><span class="lineno">  149</span>&#160;<span class="preprocessor">#define MAX_MDCT_COEFFS (1024)</span></div>
<div class="line"><a name="l00150"></a><span class="lineno">  150</span>&#160;<span class="preprocessor">#define SACDEC_RESIDUAL_BS_BUF_SIZE \</span></div>
<div class="line"><a name="l00151"></a><span class="lineno">  151</span>&#160;<span class="preprocessor">  (1024) </span><span class="comment">/* used to setup and check residual bitstream buffer */</span><span class="preprocessor"></span></div>
<div class="line"><a name="l00152"></a><span class="lineno">  152</span>&#160; </div>
<div class="line"><a name="l00153"></a><span class="lineno">  153</span>&#160;<span class="preprocessor">#define MAX_NUM_PARAMS (MAX_NUM_OTT + 4 * MAX_NUM_TTT + MAX_INPUT_CHANNELS)</span></div>
<div class="line"><a name="l00154"></a><span class="lineno">  154</span>&#160;<span class="preprocessor">#define MAX_NUM_PARAMETERS (MAX(MAX_NUM_PARAMS, MAX_NUM_OTT))</span></div>
<div class="line"><a name="l00155"></a><span class="lineno">  155</span>&#160; </div>
<div class="line"><a name="l00156"></a><span class="lineno">  156</span>&#160;<span class="preprocessor">#define MAX_PARAMETER_SETS (9)</span></div>
<div class="line"><a name="l00157"></a><span class="lineno">  157</span>&#160; </div>
<div class="line"><a name="l00158"></a><span class="lineno">  158</span>&#160;<span class="preprocessor">#define MAX_M2_INPUT (MAX_OUTPUT_CHANNELS) </span><span class="comment">/* 3 direct + 5 diffuse */</span><span class="preprocessor"></span></div>
<div class="line"><a name="l00159"></a><span class="lineno">  159</span>&#160; </div>
<div class="line"><a name="l00160"></a><span class="lineno">  160</span>&#160;<span class="preprocessor">#define MAX_QMF_BANDS_TO_HYBRID \</span></div>
<div class="line"><a name="l00161"></a><span class="lineno">  161</span>&#160;<span class="preprocessor">  (3) </span><span class="comment">/* 3 bands are filtered again in &quot;40 bands&quot; case */</span><span class="preprocessor"></span></div>
<div class="line"><a name="l00162"></a><span class="lineno">  162</span>&#160;<span class="preprocessor">#define PROTO_LEN (13)</span></div>
<div class="line"><a name="l00163"></a><span class="lineno">  163</span>&#160;<span class="preprocessor">#define BUFFER_LEN_LF (PROTO_LEN)</span></div>
<div class="line"><a name="l00164"></a><span class="lineno">  164</span>&#160;<span class="preprocessor">#define BUFFER_LEN_HF ((PROTO_LEN - 1) / 2)</span></div>
<div class="line"><a name="l00165"></a><span class="lineno">  165</span>&#160; </div>
<div class="line"><a name="l00166"></a><span class="lineno">  166</span>&#160;<span class="preprocessor">#define MAX_NO_DECORR_CHANNELS (MAX_OUTPUT_CHANNELS)</span></div>
<div class="line"><a name="l00167"></a><span class="lineno">  167</span>&#160;<span class="preprocessor">#define HRTF_AZIMUTHS (5)</span></div>
<div class="line"><a name="l00168"></a><span class="lineno">  168</span>&#160; </div>
<div class="line"><a name="l00169"></a><span class="lineno">  169</span>&#160;<span class="preprocessor">#define MAX_NUM_OTT_AT 0</span></div>
<div class="line"><a name="l00170"></a><span class="lineno">  170</span>&#160; </div>
<div class="line"><a name="l00171"></a><span class="lineno">  171</span>&#160;<span class="comment">/* left out */</span></div>
<div class="line"><a name="l00172"></a><span class="lineno">  172</span>&#160; </div>
<div class="line"><a name="l00173"></a><span class="lineno">  173</span>&#160;<span class="keyword">typedef</span> <span class="keyword">enum</span> {</div>
<div class="line"><a name="l00174"></a><span class="lineno">  174</span>&#160;  UPMIXTYPE_BYPASS = -1, <span class="comment">/*just bypass the input channels without processing*/</span></div>
<div class="line"><a name="l00175"></a><span class="lineno">  175</span>&#160;  UPMIXTYPE_NORMAL = 0   <span class="comment">/*multichannel loudspeaker upmix with spatial data*/</span></div>
<div class="line"><a name="l00176"></a><span class="lineno">  176</span>&#160;} UPMIXTYPE;</div>
<div class="line"><a name="l00177"></a><span class="lineno">  177</span>&#160; </div>
<div class="line"><a name="l00178"></a><span class="lineno">  178</span>&#160;<span class="keyword">static</span> <span class="keyword">inline</span> <span class="keywordtype">int</span> isTwoChMode(UPMIXTYPE upmixType) {</div>
<div class="line"><a name="l00179"></a><span class="lineno">  179</span>&#160;  <span class="keywordtype">int</span> retval = 0;</div>
<div class="line"><a name="l00180"></a><span class="lineno">  180</span>&#160;  <span class="keywordflow">return</span> retval;</div>
<div class="line"><a name="l00181"></a><span class="lineno">  181</span>&#160;}</div>
<div class="line"><a name="l00182"></a><span class="lineno">  182</span>&#160; </div>
<div class="line"><a name="l00183"></a><span class="lineno">  183</span>&#160;  <span class="comment">/* left out end */</span></div>
<div class="line"><a name="l00184"></a><span class="lineno">  184</span>&#160; </div>
<div class="line"><a name="l00185"></a><span class="lineno">  185</span>&#160;<span class="preprocessor">#define MPEGS_BYPASSMODE (0x00000001)</span></div>
<div class="line"><a name="l00186"></a><span class="lineno">  186</span>&#160;<span class="preprocessor">#define MPEGS_CONCEAL (0x00000002)</span></div>
<div class="line"><a name="l00187"></a><span class="lineno">  187</span>&#160; </div>
<div class="line"><a name="l00188"></a><span class="lineno">  188</span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="struct_s_t_p___d_e_c.html">STP_DEC</a> *<a class="code" href="struct_s_t_p___d_e_c.html">HANDLE_STP_DEC</a>;</div>
<div class="line"><a name="l00189"></a><span class="lineno">  189</span>&#160; </div>
<div class="line"><a name="l00190"></a><span class="lineno"><a class="line" href="struct_l_o_s_s_l_e_s_s_s_t_a_t_e.html">  190</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span>{</div>
<div class="line"><a name="l00191"></a><span class="lineno">  191</span>&#160;  <a class="code" href="machine__type_8h.html#af3e70e9edd31fb299154d959c70ac6bf">SCHAR</a> bsQuantCoarseXXXprev;</div>
<div class="line"><a name="l00192"></a><span class="lineno">  192</span>&#160;  <a class="code" href="machine__type_8h.html#af3e70e9edd31fb299154d959c70ac6bf">SCHAR</a> bsQuantCoarseXXXprevParse;</div>
<div class="line"><a name="l00193"></a><span class="lineno">  193</span>&#160;} <a class="code" href="struct_l_o_s_s_l_e_s_s_s_t_a_t_e.html">LOSSLESSSTATE</a>;</div>
<div class="line"><a name="l00194"></a><span class="lineno">  194</span>&#160; </div>
<div class="line"><a name="l00195"></a><span class="lineno"><a class="line" href="struct_l_o_s_s_l_e_s_s_d_a_t_a.html">  195</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span>{</div>
<div class="line"><a name="l00196"></a><span class="lineno">  196</span>&#160;  <a class="code" href="machine__type_8h.html#af3e70e9edd31fb299154d959c70ac6bf">SCHAR</a> bsXXXDataMode[MAX_PARAMETER_SETS];</div>
<div class="line"><a name="l00197"></a><span class="lineno">  197</span>&#160;  <a class="code" href="machine__type_8h.html#af3e70e9edd31fb299154d959c70ac6bf">SCHAR</a> bsQuantCoarseXXX[MAX_PARAMETER_SETS];</div>
<div class="line"><a name="l00198"></a><span class="lineno">  198</span>&#160;  <a class="code" href="machine__type_8h.html#af3e70e9edd31fb299154d959c70ac6bf">SCHAR</a> bsFreqResStrideXXX[MAX_PARAMETER_SETS];</div>
<div class="line"><a name="l00199"></a><span class="lineno">  199</span>&#160;  <a class="code" href="machine__type_8h.html#af3e70e9edd31fb299154d959c70ac6bf">SCHAR</a> nocmpQuantCoarseXXX[MAX_PARAMETER_SETS];</div>
<div class="line"><a name="l00200"></a><span class="lineno">  200</span>&#160;  <a class="code" href="struct_l_o_s_s_l_e_s_s_s_t_a_t_e.html">LOSSLESSSTATE</a> *state; <span class="comment">/* Link to persistent state information */</span></div>
<div class="line"><a name="l00201"></a><span class="lineno">  201</span>&#160;} <a class="code" href="struct_l_o_s_s_l_e_s_s_d_a_t_a.html">LOSSLESSDATA</a>;</div>
<div class="line"><a name="l00202"></a><span class="lineno">  202</span>&#160; </div>
<div class="line"><a name="l00203"></a><span class="lineno"><a class="line" href="struct_s_p_a_t_i_a_l___b_s___f_r_a_m_e__struct.html">  203</a></span>&#160;<span class="keyword">struct </span><a class="code" href="struct_s_p_a_t_i_a_l___b_s___f_r_a_m_e__struct.html">SPATIAL_BS_FRAME_struct</a> {</div>
<div class="line"><a name="l00204"></a><span class="lineno">  204</span>&#160;  <a class="code" href="machine__type_8h.html#aed5a2dbe32af3a91203f0f5e8697e873">UCHAR</a> bsIndependencyFlag;</div>
<div class="line"><a name="l00205"></a><span class="lineno">  205</span>&#160;  <a class="code" href="machine__type_8h.html#aed5a2dbe32af3a91203f0f5e8697e873">UCHAR</a> newBsData;</div>
<div class="line"><a name="l00206"></a><span class="lineno">  206</span>&#160;  <a class="code" href="machine__type_8h.html#aed5a2dbe32af3a91203f0f5e8697e873">UCHAR</a> numParameterSets;</div>
<div class="line"><a name="l00207"></a><span class="lineno">  207</span>&#160; </div>
<div class="line"><a name="l00208"></a><span class="lineno">  208</span>&#160;  <span class="comment">/*</span></div>
<div class="line"><a name="l00209"></a><span class="lineno">  209</span>&#160;<span class="comment">  If bsFramingType == 0, then the paramSlot[ps] for 0 &lt;= ps &lt; numParamSets is</span></div>
<div class="line"><a name="l00210"></a><span class="lineno">  210</span>&#160;<span class="comment">  calculated as follows: paramSlot[ps] = ceil(numSlots*(ps+1)/numParamSets) - 1</span></div>
<div class="line"><a name="l00211"></a><span class="lineno">  211</span>&#160;<span class="comment">  Otherwise, it is</span></div>
<div class="line"><a name="l00212"></a><span class="lineno">  212</span>&#160;<span class="comment">    paramSlot[ps] = bsParamSlot[ps]</span></div>
<div class="line"><a name="l00213"></a><span class="lineno">  213</span>&#160;<span class="comment">  */</span></div>
<div class="line"><a name="l00214"></a><span class="lineno">  214</span>&#160;  <a class="code" href="machine__type_8h.html#a4cf9af43a95c45c3d469658098dfbe1a">INT</a> paramSlot[MAX_PARAMETER_SETS];</div>
<div class="line"><a name="l00215"></a><span class="lineno">  215</span>&#160; </div>
<div class="line"><a name="l00216"></a><span class="lineno">  216</span>&#160;  <span class="comment">/* These arrays contain the compact indices, only one value per pbstride, only</span></div>
<div class="line"><a name="l00217"></a><span class="lineno">  217</span>&#160;<span class="comment">   * paramsets actually containing data. */</span></div>
<div class="line"><a name="l00218"></a><span class="lineno">  218</span>&#160;  <span class="comment">/* These values are written from the parser in ecDataDec() and read during</span></div>
<div class="line"><a name="l00219"></a><span class="lineno">  219</span>&#160;<span class="comment">   * decode in mapIndexData() */</span></div>
<div class="line"><a name="l00220"></a><span class="lineno">  220</span>&#160;  <a class="code" href="machine__type_8h.html#af3e70e9edd31fb299154d959c70ac6bf">SCHAR</a> cmpOttCLDidx[MAX_NUM_OTT + MAX_NUM_OTT_AT][MAX_PARAMETER_SETS]</div>
<div class="line"><a name="l00221"></a><span class="lineno">  221</span>&#160;                    [MAX_PARAMETER_BANDS];</div>
<div class="line"><a name="l00222"></a><span class="lineno">  222</span>&#160;  <a class="code" href="machine__type_8h.html#af3e70e9edd31fb299154d959c70ac6bf">SCHAR</a> cmpOttICCidx[MAX_NUM_OTT][MAX_PARAMETER_SETS][MAX_PARAMETER_BANDS];</div>
<div class="line"><a name="l00223"></a><span class="lineno">  223</span>&#160; </div>
<div class="line"><a name="l00224"></a><span class="lineno">  224</span>&#160;  <span class="comment">/* Smoothing */</span></div>
<div class="line"><a name="l00225"></a><span class="lineno">  225</span>&#160;  <a class="code" href="machine__type_8h.html#aed5a2dbe32af3a91203f0f5e8697e873">UCHAR</a> bsSmoothMode[MAX_PARAMETER_SETS];</div>
<div class="line"><a name="l00226"></a><span class="lineno">  226</span>&#160;  <a class="code" href="machine__type_8h.html#aed5a2dbe32af3a91203f0f5e8697e873">UCHAR</a> bsSmoothTime[MAX_PARAMETER_SETS];</div>
<div class="line"><a name="l00227"></a><span class="lineno">  227</span>&#160;  <a class="code" href="machine__type_8h.html#aed5a2dbe32af3a91203f0f5e8697e873">UCHAR</a> bsFreqResStrideSmg[MAX_PARAMETER_SETS];</div>
<div class="line"><a name="l00228"></a><span class="lineno">  228</span>&#160;  <a class="code" href="machine__type_8h.html#aed5a2dbe32af3a91203f0f5e8697e873">UCHAR</a> bsSmgData[MAX_PARAMETER_SETS]</div>
<div class="line"><a name="l00229"></a><span class="lineno">  229</span>&#160;                 [MAX_PARAMETER_BANDS]; <span class="comment">/* smoothing flags, one if band is</span></div>
<div class="line"><a name="l00230"></a><span class="lineno">  230</span>&#160;<span class="comment">                                           smoothed, otherwise zero */</span></div>
<div class="line"><a name="l00231"></a><span class="lineno">  231</span>&#160; </div>
<div class="line"><a name="l00232"></a><span class="lineno">  232</span>&#160;  <span class="comment">/* Arbitrary Downmix */</span></div>
<div class="line"><a name="l00233"></a><span class="lineno">  233</span>&#160;  <a class="code" href="machine__type_8h.html#af3e70e9edd31fb299154d959c70ac6bf">SCHAR</a> (*cmpArbdmxGainIdx)[MAX_PARAMETER_SETS][MAX_PARAMETER_BANDS];</div>
<div class="line"><a name="l00234"></a><span class="lineno">  234</span>&#160; </div>
<div class="line"><a name="l00235"></a><span class="lineno">  235</span>&#160;  <span class="comment">/* Lossless control */</span></div>
<div class="line"><a name="l00236"></a><span class="lineno">  236</span>&#160;  <a class="code" href="struct_l_o_s_s_l_e_s_s_d_a_t_a.html">LOSSLESSDATA</a> *CLDLosslessData;</div>
<div class="line"><a name="l00237"></a><span class="lineno">  237</span>&#160;  <a class="code" href="struct_l_o_s_s_l_e_s_s_d_a_t_a.html">LOSSLESSDATA</a> *ICCLosslessData;</div>
<div class="line"><a name="l00238"></a><span class="lineno">  238</span>&#160;  <span class="comment">/* LOSSLESSDATA *ADGLosslessData; -&gt; is stored in CLDLosslessData[offset] */</span></div>
<div class="line"><a name="l00239"></a><span class="lineno">  239</span>&#160; </div>
<div class="line"><a name="l00240"></a><span class="lineno">  240</span>&#160;  <a class="code" href="struct_l_o_s_s_l_e_s_s_d_a_t_a.html">LOSSLESSDATA</a> *IPDLosslessData;</div>
<div class="line"><a name="l00241"></a><span class="lineno">  241</span>&#160;  <a class="code" href="machine__type_8h.html#af3e70e9edd31fb299154d959c70ac6bf">SCHAR</a> (*cmpOttIPDidx)[MAX_PARAMETER_SETS][MAX_PARAMETER_BANDS];</div>
<div class="line"><a name="l00242"></a><span class="lineno">  242</span>&#160;  <span class="keywordtype">int</span> phaseMode;</div>
<div class="line"><a name="l00243"></a><span class="lineno">  243</span>&#160;  <span class="keywordtype">int</span> OpdSmoothingMode;</div>
<div class="line"><a name="l00244"></a><span class="lineno">  244</span>&#160; </div>
<div class="line"><a name="l00245"></a><span class="lineno"><a class="line" href="struct_s_p_a_t_i_a_l___b_s___f_r_a_m_e__struct.html#addcd17c53bc254d2847377b2b0ef0f27">  245</a></span>&#160;  <a class="code" href="machine__type_8h.html#aed5a2dbe32af3a91203f0f5e8697e873">UCHAR</a> <a class="code" href="struct_s_p_a_t_i_a_l___b_s___f_r_a_m_e__struct.html#addcd17c53bc254d2847377b2b0ef0f27">tempShapeEnableChannelGES</a>[MAX_OUTPUT_CHANNELS]; </div>
<div class="line"><a name="l00246"></a><span class="lineno"><a class="line" href="struct_s_p_a_t_i_a_l___b_s___f_r_a_m_e__struct.html#a360b71394a3949f77ae2644b8f483b75">  246</a></span>&#160;  <a class="code" href="machine__type_8h.html#aed5a2dbe32af3a91203f0f5e8697e873">UCHAR</a> <a class="code" href="struct_s_p_a_t_i_a_l___b_s___f_r_a_m_e__struct.html#a360b71394a3949f77ae2644b8f483b75">bsEnvShapeData</a>[MAX_OUTPUT_CHANNELS]</div>
<div class="line"><a name="l00247"></a><span class="lineno">  247</span>&#160;                      [MAX_TIME_SLOTS]; </div>
<div class="line"><a name="l00249"></a><span class="lineno"><a class="line" href="struct_s_p_a_t_i_a_l___b_s___f_r_a_m_e__struct.html#a0e056dd61b6ec27e095a73df80f9a6bc">  249</a></span>&#160;  <a class="code" href="machine__type_8h.html#aed5a2dbe32af3a91203f0f5e8697e873">UCHAR</a> <a class="code" href="struct_s_p_a_t_i_a_l___b_s___f_r_a_m_e__struct.html#a0e056dd61b6ec27e095a73df80f9a6bc">tempShapeEnableChannelSTP</a>[MAX_OUTPUT_CHANNELS]; </div>
<div class="line"><a name="l00251"></a><span class="lineno"><a class="line" href="struct_s_p_a_t_i_a_l___b_s___f_r_a_m_e__struct.html#a81268ef21faea1309f8ecc032d279de4">  251</a></span>&#160;  <a class="code" href="struct_t_s_d___d_a_t_a.html">TSD_DATA</a> <a class="code" href="struct_s_p_a_t_i_a_l___b_s___f_r_a_m_e__struct.html#a81268ef21faea1309f8ecc032d279de4">TsdData</a>[1]; </div>
<div class="line"><a name="l00252"></a><span class="lineno">  252</span>&#160;};</div>
<div class="line"><a name="l00253"></a><span class="lineno">  253</span>&#160; </div>
<div class="line"><a name="l00254"></a><span class="lineno"><a class="line" href="struct_b_s___l_l___s_t_a_t_e.html">  254</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span>{</div>
<div class="line"><a name="l00255"></a><span class="lineno">  255</span>&#160;  <span class="comment">/* Lossless state */</span></div>
<div class="line"><a name="l00256"></a><span class="lineno">  256</span>&#160;  <a class="code" href="struct_l_o_s_s_l_e_s_s_s_t_a_t_e.html">LOSSLESSSTATE</a> CLDLosslessState[MAX_NUM_PARAMETERS];</div>
<div class="line"><a name="l00257"></a><span class="lineno">  257</span>&#160;  <a class="code" href="struct_l_o_s_s_l_e_s_s_s_t_a_t_e.html">LOSSLESSSTATE</a> ICCLosslessState[MAX_NUM_PARAMETERS];</div>
<div class="line"><a name="l00258"></a><span class="lineno">  258</span>&#160;  <a class="code" href="struct_l_o_s_s_l_e_s_s_s_t_a_t_e.html">LOSSLESSSTATE</a> IPDLosslessState[MAX_NUM_PARAMETERS];</div>
<div class="line"><a name="l00259"></a><span class="lineno">  259</span>&#160;} <a class="code" href="struct_b_s___l_l___s_t_a_t_e.html">BS_LL_STATE</a>;</div>
<div class="line"><a name="l00260"></a><span class="lineno">  260</span>&#160; </div>
<div class="line"><a name="l00261"></a><span class="lineno"><a class="line" href="struct_s_m_o_o_t_h_i_n_g___s_t_a_t_e.html">  261</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span>{</div>
<div class="line"><a name="l00262"></a><span class="lineno">  262</span>&#160;  <span class="keywordtype">int</span> prevParamSlot;</div>
<div class="line"><a name="l00263"></a><span class="lineno">  263</span>&#160;  <span class="keywordtype">int</span> prevSmgTime;</div>
<div class="line"><a name="l00264"></a><span class="lineno">  264</span>&#160;  <a class="code" href="machine__type_8h.html#aed5a2dbe32af3a91203f0f5e8697e873">UCHAR</a> prevSmgData[MAX_PARAMETER_BANDS];</div>
<div class="line"><a name="l00265"></a><span class="lineno">  265</span>&#160; </div>
<div class="line"><a name="l00266"></a><span class="lineno">  266</span>&#160;  FIXP_DBL opdLeftState__FDK[MAX_PARAMETER_BANDS];</div>
<div class="line"><a name="l00267"></a><span class="lineno">  267</span>&#160;  FIXP_DBL opdRightState__FDK[MAX_PARAMETER_BANDS];</div>
<div class="line"><a name="l00268"></a><span class="lineno">  268</span>&#160; </div>
<div class="line"><a name="l00269"></a><span class="lineno">  269</span>&#160;} <a class="code" href="struct_s_m_o_o_t_h_i_n_g___s_t_a_t_e.html">SMOOTHING_STATE</a>;</div>
<div class="line"><a name="l00270"></a><span class="lineno">  270</span>&#160; </div>
<div class="line"><a name="l00271"></a><span class="lineno"><a class="line" href="struct_r_e_s_h_a_p_e___b_b_e_n_v___s_t_a_t_e.html">  271</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span>{</div>
<div class="line"><a name="l00272"></a><span class="lineno">  272</span>&#160;  FIXP_DBL alpha__FDK;</div>
<div class="line"><a name="l00273"></a><span class="lineno">  273</span>&#160;  FIXP_DBL beta__FDK;</div>
<div class="line"><a name="l00274"></a><span class="lineno">  274</span>&#160;  FIXP_DBL partNrgPrev__FDK[2 * MAX_OUTPUT_CHANNELS + MAX_INPUT_CHANNELS]</div>
<div class="line"><a name="l00275"></a><span class="lineno">  275</span>&#160;                           [BB_ENV_SIZE];</div>
<div class="line"><a name="l00276"></a><span class="lineno">  276</span>&#160;  FIXP_DBL normNrgPrev__FDK[2 * MAX_OUTPUT_CHANNELS + MAX_INPUT_CHANNELS];</div>
<div class="line"><a name="l00277"></a><span class="lineno">  277</span>&#160;  FIXP_DBL frameNrgPrev__FDK[2 * MAX_OUTPUT_CHANNELS + MAX_INPUT_CHANNELS];</div>
<div class="line"><a name="l00278"></a><span class="lineno">  278</span>&#160;  <a class="code" href="machine__type_8h.html#a4cf9af43a95c45c3d469658098dfbe1a">INT</a> partNrgPrevSF[2 * MAX_OUTPUT_CHANNELS + MAX_INPUT_CHANNELS];</div>
<div class="line"><a name="l00279"></a><span class="lineno">  279</span>&#160;  <a class="code" href="machine__type_8h.html#a4cf9af43a95c45c3d469658098dfbe1a">INT</a> partNrgPrev2SF[2 * MAX_OUTPUT_CHANNELS + MAX_INPUT_CHANNELS];</div>
<div class="line"><a name="l00280"></a><span class="lineno">  280</span>&#160;  <a class="code" href="machine__type_8h.html#a4cf9af43a95c45c3d469658098dfbe1a">INT</a> normNrgPrevSF[2 * MAX_OUTPUT_CHANNELS + MAX_INPUT_CHANNELS];</div>
<div class="line"><a name="l00281"></a><span class="lineno">  281</span>&#160;  <a class="code" href="machine__type_8h.html#a4cf9af43a95c45c3d469658098dfbe1a">INT</a> frameNrgPrevSF[2 * MAX_OUTPUT_CHANNELS + MAX_INPUT_CHANNELS];</div>
<div class="line"><a name="l00282"></a><span class="lineno">  282</span>&#160;} <a class="code" href="struct_r_e_s_h_a_p_e___b_b_e_n_v___s_t_a_t_e.html">RESHAPE_BBENV_STATE</a>;</div>
<div class="line"><a name="l00283"></a><span class="lineno">  283</span>&#160; </div>
<div class="line"><a name="l00284"></a><span class="lineno"><a class="line" href="struct_s_a_c_d_e_c___c_r_e_a_t_i_o_n___p_a_r_a_m_s.html">  284</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span>{</div>
<div class="line"><a name="l00285"></a><span class="lineno">  285</span>&#160;  <span class="keywordtype">int</span> maxNumInputChannels;</div>
<div class="line"><a name="l00286"></a><span class="lineno">  286</span>&#160;  <span class="keywordtype">int</span> maxNumOutputChannels;</div>
<div class="line"><a name="l00287"></a><span class="lineno">  287</span>&#160;  <span class="keywordtype">int</span> maxNumQmfBands;</div>
<div class="line"><a name="l00288"></a><span class="lineno">  288</span>&#160;  <span class="keywordtype">int</span> maxNumHybridBands;</div>
<div class="line"><a name="l00289"></a><span class="lineno">  289</span>&#160;  <span class="keywordtype">int</span> maxNumXChannels;</div>
<div class="line"><a name="l00290"></a><span class="lineno">  290</span>&#160;  <span class="keywordtype">int</span> maxNumVChannels;</div>
<div class="line"><a name="l00291"></a><span class="lineno">  291</span>&#160;  <span class="keywordtype">int</span> maxNumDecorChannels;</div>
<div class="line"><a name="l00292"></a><span class="lineno">  292</span>&#160;  <span class="keywordtype">int</span> maxNumCmplxQmfBands;</div>
<div class="line"><a name="l00293"></a><span class="lineno">  293</span>&#160;  <span class="keywordtype">int</span> maxNumCmplxHybBands;</div>
<div class="line"><a name="l00294"></a><span class="lineno">  294</span>&#160;  <span class="keywordtype">int</span> maxNumResChannels;</div>
<div class="line"><a name="l00295"></a><span class="lineno">  295</span>&#160;  <span class="keywordtype">int</span> bProcResidual; <span class="comment">/* process residual */</span></div>
<div class="line"><a name="l00296"></a><span class="lineno">  296</span>&#160;  <span class="keywordtype">int</span> maxNumResidualChannels;</div>
<div class="line"><a name="l00297"></a><span class="lineno">  297</span>&#160;  <span class="keywordtype">int</span> maxNumOttBoxes;</div>
<div class="line"><a name="l00298"></a><span class="lineno">  298</span>&#160;  <span class="keywordtype">int</span> maxNumParams;</div>
<div class="line"><a name="l00299"></a><span class="lineno">  299</span>&#160; </div>
<div class="line"><a name="l00300"></a><span class="lineno">  300</span>&#160;} <a class="code" href="struct_s_a_c_d_e_c___c_r_e_a_t_i_o_n___p_a_r_a_m_s.html">SACDEC_CREATION_PARAMS</a>;</div>
<div class="line"><a name="l00301"></a><span class="lineno">  301</span>&#160; </div>
<div class="line"><a name="l00302"></a><span class="lineno"><a class="line" href="structspatial_dec__struct.html">  302</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structspatial_dec__struct.html">spatialDec_struct</a> {</div>
<div class="line"><a name="l00303"></a><span class="lineno">  303</span>&#160;  SACDEC_ERROR</div>
<div class="line"><a name="l00304"></a><span class="lineno">  304</span>&#160;  errInt;             <span class="comment">/* Field to store internal errors.</span></div>
<div class="line"><a name="l00305"></a><span class="lineno">  305</span>&#160;<span class="comment">                         Will be clear at the very beginning of each process call. */</span></div>
<div class="line"><a name="l00306"></a><span class="lineno">  306</span>&#160;  <span class="keywordtype">int</span> staticDecScale; <span class="comment">/* static scale of decoder */</span></div>
<div class="line"><a name="l00307"></a><span class="lineno">  307</span>&#160; </div>
<div class="line"><a name="l00308"></a><span class="lineno">  308</span>&#160;  <span class="comment">/* GENERAL */</span></div>
<div class="line"><a name="l00309"></a><span class="lineno">  309</span>&#160;  <span class="keywordtype">int</span> samplingFreq;       <span class="comment">/* [Hz] */</span></div>
<div class="line"><a name="l00310"></a><span class="lineno">  310</span>&#160;  CFG_LEVEL decoderLevel; <span class="comment">/* 0..5 */</span></div>
<div class="line"><a name="l00311"></a><span class="lineno">  311</span>&#160;  CFG_EXTENT decoderMode;</div>
<div class="line"><a name="l00312"></a><span class="lineno">  312</span>&#160;  CFG_BINAURAL binauralMode;</div>
<div class="line"><a name="l00313"></a><span class="lineno">  313</span>&#160; </div>
<div class="line"><a name="l00314"></a><span class="lineno">  314</span>&#160;  <a class="code" href="struct_s_a_c_d_e_c___c_r_e_a_t_i_o_n___p_a_r_a_m_s.html">SACDEC_CREATION_PARAMS</a> createParams;</div>
<div class="line"><a name="l00315"></a><span class="lineno">  315</span>&#160; </div>
<div class="line"><a name="l00316"></a><span class="lineno">  316</span>&#160;  <span class="keywordtype">int</span> numComplexProcessingBands;</div>
<div class="line"><a name="l00317"></a><span class="lineno">  317</span>&#160; </div>
<div class="line"><a name="l00318"></a><span class="lineno">  318</span>&#160;  <span class="keywordtype">int</span> treeConfig; <span class="comment">/* TREE_5151 = 5151, TREE_5152 = 5152, TREE_525 = 525, defined</span></div>
<div class="line"><a name="l00319"></a><span class="lineno">  319</span>&#160;<span class="comment">                     in sac_bitdec.h */</span></div>
<div class="line"><a name="l00320"></a><span class="lineno">  320</span>&#160; </div>
<div class="line"><a name="l00321"></a><span class="lineno">  321</span>&#160;  <span class="keywordtype">int</span> numInputChannels;  <span class="comment">/* 1 (M) or 2 (L,R) */</span></div>
<div class="line"><a name="l00322"></a><span class="lineno">  322</span>&#160;  <span class="keywordtype">int</span> numOutputChannels; <span class="comment">/* 6 for 3/2.1 (FL,FR,FC,LF,BL,BR) */</span></div>
<div class="line"><a name="l00323"></a><span class="lineno">  323</span>&#160;  <span class="keywordtype">int</span> numOttBoxes;       <span class="comment">/* number of ott boxes */</span></div>
<div class="line"><a name="l00324"></a><span class="lineno">  324</span>&#160;  <span class="keywordtype">int</span> numM2rows;</div>
<div class="line"><a name="l00325"></a><span class="lineno">  325</span>&#160; </div>
<div class="line"><a name="l00326"></a><span class="lineno">  326</span>&#160;  <span class="keywordtype">int</span> numOutputChannelsAT; <span class="comment">/* Number of output channels after arbitrary tree</span></div>
<div class="line"><a name="l00327"></a><span class="lineno">  327</span>&#160;<span class="comment">                              processing */</span></div>
<div class="line"><a name="l00328"></a><span class="lineno">  328</span>&#160; </div>
<div class="line"><a name="l00329"></a><span class="lineno">  329</span>&#160;  <span class="keywordtype">int</span> quantMode; <span class="comment">/* QUANT_FINE, QUANT_EBQ1, QUANT_EBQ2, defined in sac_bitdec.h</span></div>
<div class="line"><a name="l00330"></a><span class="lineno">  330</span>&#160;<span class="comment">                  */</span></div>
<div class="line"><a name="l00331"></a><span class="lineno">  331</span>&#160;  <span class="keywordtype">int</span> arbitraryDownmix; <span class="comment">/* (arbitraryDownmix != 0) 1 arbitrary downmix data</span></div>
<div class="line"><a name="l00332"></a><span class="lineno">  332</span>&#160;<span class="comment">                           present, 2 arbitrary downmix residual data present*/</span></div>
<div class="line"><a name="l00333"></a><span class="lineno">  333</span>&#160;  <span class="keywordtype">int</span> residualCoding;   <span class="comment">/* (residualCoding != 0) =&gt; residual coding data present</span></div>
<div class="line"><a name="l00334"></a><span class="lineno">  334</span>&#160;<span class="comment">                         */</span></div>
<div class="line"><a name="l00335"></a><span class="lineno">  335</span>&#160;  <a class="code" href="machine__type_8h.html#aed5a2dbe32af3a91203f0f5e8697e873">UCHAR</a> nrResidualFrame;</div>
<div class="line"><a name="l00336"></a><span class="lineno">  336</span>&#160;  <a class="code" href="machine__type_8h.html#aed5a2dbe32af3a91203f0f5e8697e873">UCHAR</a> nrArbDownmixResidualFrame;</div>
<div class="line"><a name="l00337"></a><span class="lineno">  337</span>&#160;  <a class="code" href="struct_f_d_k___b_i_t_s_t_r_e_a_m.html">FDK_BITSTREAM</a> **hResidualBitstreams;</div>
<div class="line"><a name="l00338"></a><span class="lineno">  338</span>&#160;  <span class="keywordtype">int</span> tempShapeConfig; <span class="comment">/* */</span></div>
<div class="line"><a name="l00339"></a><span class="lineno">  339</span>&#160;  <span class="keywordtype">int</span> decorrType;      <span class="comment">/* Indicates to use PS or none PS decorrelator. */</span></div>
<div class="line"><a name="l00340"></a><span class="lineno">  340</span>&#160;  <span class="keywordtype">int</span> decorrConfig;    <span class="comment">/* chosen decorrelator */</span></div>
<div class="line"><a name="l00341"></a><span class="lineno">  341</span>&#160;  <span class="keywordtype">int</span> envQuantMode;    <span class="comment">/* quantization mode of envelope reshaping data */</span></div>
<div class="line"><a name="l00342"></a><span class="lineno">  342</span>&#160; </div>
<div class="line"><a name="l00343"></a><span class="lineno">  343</span>&#160;  FIXP_DBL clipProtectGain__FDK; <span class="comment">/* global gain for upmix */</span></div>
<div class="line"><a name="l00344"></a><span class="lineno">  344</span>&#160;  <span class="keywordtype">char</span> clipProtectGainSF__FDK;   <span class="comment">/* global gain for upmix */</span></div>
<div class="line"><a name="l00345"></a><span class="lineno">  345</span>&#160; </div>
<div class="line"><a name="l00346"></a><span class="lineno">  346</span>&#160;  <span class="comment">/* Currently ignoring center decorr</span></div>
<div class="line"><a name="l00347"></a><span class="lineno">  347</span>&#160;<span class="comment">     numVChannels = numDirektSignals + numDecorSignals */</span></div>
<div class="line"><a name="l00348"></a><span class="lineno">  348</span>&#160;  <span class="keywordtype">int</span> numDirektSignals;  <span class="comment">/* needed for W, Number of direkt signals 515 -&gt; 1 525</span></div>
<div class="line"><a name="l00349"></a><span class="lineno">  349</span>&#160;<span class="comment">                            -&gt; 3 */</span></div>
<div class="line"><a name="l00350"></a><span class="lineno">  350</span>&#160;  <span class="keywordtype">int</span> wStartResidualIdx; <span class="comment">/* Where to start read residuals for W, = 0 for 515, =</span></div>
<div class="line"><a name="l00351"></a><span class="lineno">  351</span>&#160;<span class="comment">                            1 for 525 since one residual is used in V */</span></div>
<div class="line"><a name="l00352"></a><span class="lineno">  352</span>&#160;  <span class="keywordtype">int</span> numDecorSignals;   <span class="comment">/* needed for W, Number of residual and decorrelated</span></div>
<div class="line"><a name="l00353"></a><span class="lineno">  353</span>&#160;<span class="comment">                            signals, = 2, 3 for center deccorelation*/</span></div>
<div class="line"><a name="l00354"></a><span class="lineno">  354</span>&#160;  <span class="keywordtype">int</span> numVChannels;      <span class="comment">/* direct signals + decorelator signals */</span></div>
<div class="line"><a name="l00355"></a><span class="lineno">  355</span>&#160;  <span class="keywordtype">int</span> numXChannels;      <span class="comment">/* direct input signals + TTT-residuals */</span></div>
<div class="line"><a name="l00356"></a><span class="lineno">  356</span>&#160; </div>
<div class="line"><a name="l00357"></a><span class="lineno">  357</span>&#160;  <span class="keywordtype">int</span> timeSlots;    <span class="comment">/* length of spatial frame in QMF samples */</span></div>
<div class="line"><a name="l00358"></a><span class="lineno">  358</span>&#160;  <span class="keywordtype">int</span> curTimeSlot;  <span class="comment">/* pointer to the current time slot used for hyperframing */</span></div>
<div class="line"><a name="l00359"></a><span class="lineno">  359</span>&#160;  <span class="keywordtype">int</span> prevTimeSlot; <span class="comment">/*  */</span></div>
<div class="line"><a name="l00360"></a><span class="lineno">  360</span>&#160;  <span class="keywordtype">int</span> curPs;</div>
<div class="line"><a name="l00361"></a><span class="lineno">  361</span>&#160;  <span class="keywordtype">int</span> frameLength; <span class="comment">/* number of output waveform samples/channel/frame */</span></div>
<div class="line"><a name="l00362"></a><span class="lineno">  362</span>&#160;  UPMIXTYPE upmixType;</div>
<div class="line"><a name="l00363"></a><span class="lineno">  363</span>&#160;  <span class="keywordtype">int</span> partiallyComplex;</div>
<div class="line"><a name="l00364"></a><span class="lineno">  364</span>&#160;  <span class="keywordtype">int</span> useFDreverb;</div>
<div class="line"><a name="l00365"></a><span class="lineno">  365</span>&#160; </div>
<div class="line"><a name="l00366"></a><span class="lineno">  366</span>&#160;  <span class="keywordtype">int</span> bShareDelayWithSBR;</div>
<div class="line"><a name="l00367"></a><span class="lineno">  367</span>&#160; </div>
<div class="line"><a name="l00368"></a><span class="lineno">  368</span>&#160;  <span class="keywordtype">int</span> tp_hybBandBorder; <span class="comment">/* Hybrid band indicating the HP filter cut-off. */</span></div>
<div class="line"><a name="l00369"></a><span class="lineno">  369</span>&#160; </div>
<div class="line"><a name="l00370"></a><span class="lineno">  370</span>&#160;  <span class="comment">/* FREQUENCY MAPPING */</span></div>
<div class="line"><a name="l00371"></a><span class="lineno">  371</span>&#160;  <span class="keywordtype">int</span> qmfBands;</div>
<div class="line"><a name="l00372"></a><span class="lineno">  372</span>&#160;  <span class="keywordtype">int</span> hybridBands;</div>
<div class="line"><a name="l00373"></a><span class="lineno">  373</span>&#160;  <span class="keyword">const</span> <a class="code" href="machine__type_8h.html#af3e70e9edd31fb299154d959c70ac6bf">SCHAR</a> *kernels; <span class="comment">/* Mapping hybrid band to parameter band. */</span></div>
<div class="line"><a name="l00374"></a><span class="lineno">  374</span>&#160; </div>
<div class="line"><a name="l00375"></a><span class="lineno"><a class="line" href="structspatial_dec__struct.html#acbba2e819bbc92db6d26c79a30c8c453">  375</a></span>&#160;  <span class="keywordtype">int</span> <a class="code" href="structspatial_dec__struct.html#acbba2e819bbc92db6d26c79a30c8c453">TsdTs</a>; </div>
<div class="line"><a name="l00377"></a><span class="lineno">  377</span>&#160;  <span class="keywordtype">int</span> *param2hyb; <span class="comment">/* Mapping parameter bands to hybrid bands */</span></div>
<div class="line"><a name="l00378"></a><span class="lineno">  378</span>&#160;  <span class="keywordtype">int</span> kernels_width[MAX_PARAMETER_BANDS]; <span class="comment">/* Mapping parmeter band to hybrid</span></div>
<div class="line"><a name="l00379"></a><span class="lineno">  379</span>&#160;<span class="comment">                                             band offsets. */</span></div>
<div class="line"><a name="l00380"></a><span class="lineno">  380</span>&#160; </div>
<div class="line"><a name="l00381"></a><span class="lineno">  381</span>&#160;  <span class="comment">/* Residual coding */</span></div>
<div class="line"><a name="l00382"></a><span class="lineno">  382</span>&#160;  <span class="keywordtype">int</span> residualSamplingFreq;</div>
<div class="line"><a name="l00383"></a><span class="lineno">  383</span>&#160;  <a class="code" href="machine__type_8h.html#aed5a2dbe32af3a91203f0f5e8697e873">UCHAR</a> residualPresent[MAX_NUM_OTT + MAX_NUM_TTT];</div>
<div class="line"><a name="l00384"></a><span class="lineno">  384</span>&#160;  <a class="code" href="machine__type_8h.html#aed5a2dbe32af3a91203f0f5e8697e873">UCHAR</a> residualBands[MAX_NUM_OTT + MAX_NUM_TTT];    <span class="comment">/* 0, if no residual data</span></div>
<div class="line"><a name="l00385"></a><span class="lineno">  385</span>&#160;<span class="comment">                                                        present for this box */</span></div>
<div class="line"><a name="l00386"></a><span class="lineno">  386</span>&#160;  <a class="code" href="machine__type_8h.html#aed5a2dbe32af3a91203f0f5e8697e873">UCHAR</a> residualQMFBands[MAX_NUM_OTT + MAX_NUM_TTT]; <span class="comment">/* needed for optimized</span></div>
<div class="line"><a name="l00387"></a><span class="lineno">  387</span>&#160;<span class="comment">                                                        mdct2qmf calculation */</span></div>
<div class="line"><a name="l00388"></a><span class="lineno">  388</span>&#160;  <a class="code" href="struct_t___s_p_a_t_i_a_l___s_p_e_c_i_f_i_c___c_o_n_f_i_g.html">SPATIAL_SPECIFIC_CONFIG</a> *pConfigCurrent;</div>
<div class="line"><a name="l00389"></a><span class="lineno">  389</span>&#160; </div>
<div class="line"><a name="l00390"></a><span class="lineno">  390</span>&#160;  <span class="keywordtype">int</span> arbdmxFramesPerSpatialFrame;</div>
<div class="line"><a name="l00391"></a><span class="lineno">  391</span>&#160;  <span class="keywordtype">int</span> arbdmxUpdQMF;</div>
<div class="line"><a name="l00392"></a><span class="lineno">  392</span>&#160; </div>
<div class="line"><a name="l00393"></a><span class="lineno">  393</span>&#160;  <span class="keywordtype">int</span> numParameterBands; <span class="comment">/* Number of parameter bands 40, 28, 20, 14, 10, ...</span></div>
<div class="line"><a name="l00394"></a><span class="lineno">  394</span>&#160;<span class="comment">                            .*/</span></div>
<div class="line"><a name="l00395"></a><span class="lineno">  395</span>&#160;  <span class="keywordtype">int</span> bitstreamParameterBands;</div>
<div class="line"><a name="l00396"></a><span class="lineno">  396</span>&#160;  <span class="keywordtype">int</span> *numOttBands; <span class="comment">/* number of bands for each ott, is != numParameterBands for</span></div>
<div class="line"><a name="l00397"></a><span class="lineno">  397</span>&#160;<span class="comment">                       LFEs */</span></div>
<div class="line"><a name="l00398"></a><span class="lineno">  398</span>&#160; </div>
<div class="line"><a name="l00399"></a><span class="lineno">  399</span>&#160;  <span class="comment">/* 1 MAPPING */</span></div>
<div class="line"><a name="l00400"></a><span class="lineno">  400</span>&#160;  <a class="code" href="machine__type_8h.html#aed5a2dbe32af3a91203f0f5e8697e873">UCHAR</a> extendFrame;</div>
<div class="line"><a name="l00401"></a><span class="lineno">  401</span>&#160;  <a class="code" href="machine__type_8h.html#aed5a2dbe32af3a91203f0f5e8697e873">UCHAR</a> numParameterSetsPrev;</div>
<div class="line"><a name="l00402"></a><span class="lineno">  402</span>&#160; </div>
<div class="line"><a name="l00403"></a><span class="lineno">  403</span>&#160;  <span class="keywordtype">int</span> *smgTime;</div>
<div class="line"><a name="l00404"></a><span class="lineno">  404</span>&#160;  <a class="code" href="machine__type_8h.html#aed5a2dbe32af3a91203f0f5e8697e873">UCHAR</a> **smgData;</div>
<div class="line"><a name="l00405"></a><span class="lineno">  405</span>&#160; </div>
<div class="line"><a name="l00406"></a><span class="lineno">  406</span>&#160;  <span class="comment">/* PARAMETER DATA decoded and dequantized */</span></div>
<div class="line"><a name="l00407"></a><span class="lineno">  407</span>&#160; </div>
<div class="line"><a name="l00408"></a><span class="lineno">  408</span>&#160;  <span class="comment">/* Last parameters from prev frame required during decode in mapIndexData()</span></div>
<div class="line"><a name="l00409"></a><span class="lineno">  409</span>&#160;<span class="comment">   * and not touched during parse */</span></div>
<div class="line"><a name="l00410"></a><span class="lineno">  410</span>&#160;  <a class="code" href="machine__type_8h.html#af3e70e9edd31fb299154d959c70ac6bf">SCHAR</a> **ottCLDidxPrev;</div>
<div class="line"><a name="l00411"></a><span class="lineno">  411</span>&#160;  <a class="code" href="machine__type_8h.html#af3e70e9edd31fb299154d959c70ac6bf">SCHAR</a> **ottICCidxPrev;</div>
<div class="line"><a name="l00412"></a><span class="lineno">  412</span>&#160;  <a class="code" href="machine__type_8h.html#af3e70e9edd31fb299154d959c70ac6bf">SCHAR</a> **arbdmxGainIdxPrev;</div>
<div class="line"><a name="l00413"></a><span class="lineno">  413</span>&#160;  <a class="code" href="machine__type_8h.html#af3e70e9edd31fb299154d959c70ac6bf">SCHAR</a> **ottIPDidxPrev;</div>
<div class="line"><a name="l00414"></a><span class="lineno">  414</span>&#160;  <a class="code" href="machine__type_8h.html#af3e70e9edd31fb299154d959c70ac6bf">SCHAR</a> ***outIdxData; <span class="comment">/* is this really persistent memory ? */</span></div>
<div class="line"><a name="l00415"></a><span class="lineno">  415</span>&#160; </div>
<div class="line"><a name="l00416"></a><span class="lineno">  416</span>&#160;  <span class="comment">/* State mem required during parse in SpatialDecParseFrameData() */</span></div>
<div class="line"><a name="l00417"></a><span class="lineno">  417</span>&#160;  <a class="code" href="machine__type_8h.html#af3e70e9edd31fb299154d959c70ac6bf">SCHAR</a> **cmpOttCLDidxPrev;</div>
<div class="line"><a name="l00418"></a><span class="lineno">  418</span>&#160;  <a class="code" href="machine__type_8h.html#af3e70e9edd31fb299154d959c70ac6bf">SCHAR</a> **cmpOttICCidxPrev;</div>
<div class="line"><a name="l00419"></a><span class="lineno">  419</span>&#160;  <a class="code" href="machine__type_8h.html#af3e70e9edd31fb299154d959c70ac6bf">SCHAR</a> ***ottICCdiffidx;</div>
<div class="line"><a name="l00420"></a><span class="lineno">  420</span>&#160;  <a class="code" href="machine__type_8h.html#af3e70e9edd31fb299154d959c70ac6bf">SCHAR</a> **cmpOttIPDidxPrev;</div>
<div class="line"><a name="l00421"></a><span class="lineno">  421</span>&#160; </div>
<div class="line"><a name="l00422"></a><span class="lineno">  422</span>&#160;  <span class="comment">/* State mem required in parseArbitraryDownmixData */</span></div>
<div class="line"><a name="l00423"></a><span class="lineno">  423</span>&#160;  <a class="code" href="machine__type_8h.html#af3e70e9edd31fb299154d959c70ac6bf">SCHAR</a> **cmpArbdmxGainIdxPrev;</div>
<div class="line"><a name="l00424"></a><span class="lineno">  424</span>&#160; </div>
<div class="line"><a name="l00425"></a><span class="lineno">  425</span>&#160;  <a class="code" href="machine__type_8h.html#af3e70e9edd31fb299154d959c70ac6bf">SCHAR</a> ***ottCLD__FDK;</div>
<div class="line"><a name="l00426"></a><span class="lineno">  426</span>&#160;  <a class="code" href="machine__type_8h.html#af3e70e9edd31fb299154d959c70ac6bf">SCHAR</a> ***ottICC__FDK;</div>
<div class="line"><a name="l00427"></a><span class="lineno">  427</span>&#160; </div>
<div class="line"><a name="l00428"></a><span class="lineno">  428</span>&#160;  <a class="code" href="machine__type_8h.html#af3e70e9edd31fb299154d959c70ac6bf">SCHAR</a> ***arbdmxGain__FDK; <span class="comment">/* Holds the artistic downmix correction index.*/</span></div>
<div class="line"><a name="l00429"></a><span class="lineno">  429</span>&#160; </div>
<div class="line"><a name="l00430"></a><span class="lineno">  430</span>&#160;  FIXP_DBL *arbdmxAlpha__FDK;</div>
<div class="line"><a name="l00431"></a><span class="lineno">  431</span>&#160;  FIXP_DBL *arbdmxAlphaPrev__FDK;</div>
<div class="line"><a name="l00432"></a><span class="lineno">  432</span>&#160; </div>
<div class="line"><a name="l00433"></a><span class="lineno">  433</span>&#160;  <a class="code" href="machine__type_8h.html#aed5a2dbe32af3a91203f0f5e8697e873">UCHAR</a> stereoConfigIndex;</div>
<div class="line"><a name="l00434"></a><span class="lineno">  434</span>&#160;  <span class="keywordtype">int</span> highRateMode;</div>
<div class="line"><a name="l00435"></a><span class="lineno">  435</span>&#160; </div>
<div class="line"><a name="l00436"></a><span class="lineno">  436</span>&#160;  <span class="keywordtype">int</span> phaseCoding;</div>
<div class="line"><a name="l00437"></a><span class="lineno">  437</span>&#160; </div>
<div class="line"><a name="l00438"></a><span class="lineno">  438</span>&#160;  <a class="code" href="machine__type_8h.html#af3e70e9edd31fb299154d959c70ac6bf">SCHAR</a> ***ottIPD__FDK;</div>
<div class="line"><a name="l00439"></a><span class="lineno">  439</span>&#160; </div>
<div class="line"><a name="l00440"></a><span class="lineno">  440</span>&#160;  FIXP_DBL PhaseLeft__FDK[MAX_PARAMETER_BANDS];</div>
<div class="line"><a name="l00441"></a><span class="lineno">  441</span>&#160;  FIXP_DBL PhaseRight__FDK[MAX_PARAMETER_BANDS];</div>
<div class="line"><a name="l00442"></a><span class="lineno">  442</span>&#160;  FIXP_DBL PhasePrevLeft__FDK[MAX_PARAMETER_BANDS];</div>
<div class="line"><a name="l00443"></a><span class="lineno">  443</span>&#160;  FIXP_DBL PhasePrevRight__FDK[MAX_PARAMETER_BANDS];</div>
<div class="line"><a name="l00444"></a><span class="lineno">  444</span>&#160;  <span class="keywordtype">int</span> numOttBandsIPD;</div>
<div class="line"><a name="l00445"></a><span class="lineno">  445</span>&#160; </div>
<div class="line"><a name="l00446"></a><span class="lineno">  446</span>&#160;  <span class="comment">/* GAIN MATRICIES FOR CURRENT and PREVIOUS PARMATER SET(s)*/</span></div>
<div class="line"><a name="l00447"></a><span class="lineno">  447</span>&#160;  FIXP_DBL ***M2Real__FDK;</div>
<div class="line"><a name="l00448"></a><span class="lineno">  448</span>&#160;  FIXP_DBL ***M2Imag__FDK;</div>
<div class="line"><a name="l00449"></a><span class="lineno">  449</span>&#160;  FIXP_DBL ***M2RealPrev__FDK;</div>
<div class="line"><a name="l00450"></a><span class="lineno">  450</span>&#160;  FIXP_DBL ***M2ImagPrev__FDK;</div>
<div class="line"><a name="l00451"></a><span class="lineno">  451</span>&#160; </div>
<div class="line"><a name="l00452"></a><span class="lineno">  452</span>&#160;  <span class="comment">/* INPUT SIGNALS */</span></div>
<div class="line"><a name="l00453"></a><span class="lineno">  453</span>&#160;  FIXP_DBL ***qmfInputRealDelayBuffer__FDK;</div>
<div class="line"><a name="l00454"></a><span class="lineno">  454</span>&#160;  FIXP_DBL ***qmfInputImagDelayBuffer__FDK;</div>
<div class="line"><a name="l00455"></a><span class="lineno">  455</span>&#160; </div>
<div class="line"><a name="l00456"></a><span class="lineno">  456</span>&#160;  <span class="keywordtype">int</span> pc_filterdelay; <span class="comment">/* additional delay to align HQ with LP before hybird</span></div>
<div class="line"><a name="l00457"></a><span class="lineno">  457</span>&#160;<span class="comment">                         analysis */</span></div>
<div class="line"><a name="l00458"></a><span class="lineno">  458</span>&#160;  <span class="keywordtype">int</span> qmfInputDelayBufPos;</div>
<div class="line"><a name="l00459"></a><span class="lineno">  459</span>&#160;  FIXP_DBL **qmfInputReal__FDK;</div>
<div class="line"><a name="l00460"></a><span class="lineno">  460</span>&#160;  FIXP_DBL **qmfInputImag__FDK;</div>
<div class="line"><a name="l00461"></a><span class="lineno">  461</span>&#160; </div>
<div class="line"><a name="l00462"></a><span class="lineno">  462</span>&#160;  FIXP_DBL **hybInputReal__FDK;</div>
<div class="line"><a name="l00463"></a><span class="lineno">  463</span>&#160;  FIXP_DBL **hybInputImag__FDK;</div>
<div class="line"><a name="l00464"></a><span class="lineno">  464</span>&#160; </div>
<div class="line"><a name="l00465"></a><span class="lineno">  465</span>&#160;  FIXP_DBL **binInputReverb;</div>
<div class="line"><a name="l00466"></a><span class="lineno">  466</span>&#160; </div>
<div class="line"><a name="l00467"></a><span class="lineno">  467</span>&#160;  FIXP_DBL binGain, reverbGain;</div>
<div class="line"><a name="l00468"></a><span class="lineno">  468</span>&#160;  FIXP_DBL binCenterGain, reverbCenterGain;</div>
<div class="line"><a name="l00469"></a><span class="lineno">  469</span>&#160; </div>
<div class="line"><a name="l00470"></a><span class="lineno">  470</span>&#160;  <span class="comment">/* RESIDUAL SIGNALS */</span></div>
<div class="line"><a name="l00471"></a><span class="lineno">  471</span>&#160; </div>
<div class="line"><a name="l00472"></a><span class="lineno">  472</span>&#160;  FIXP_DBL ***qmfResidualReal__FDK;</div>
<div class="line"><a name="l00473"></a><span class="lineno">  473</span>&#160;  FIXP_DBL ***qmfResidualImag__FDK;</div>
<div class="line"><a name="l00474"></a><span class="lineno">  474</span>&#160; </div>
<div class="line"><a name="l00475"></a><span class="lineno">  475</span>&#160;  FIXP_DBL **hybResidualReal__FDK;</div>
<div class="line"><a name="l00476"></a><span class="lineno">  476</span>&#160;  FIXP_DBL **hybResidualImag__FDK;</div>
<div class="line"><a name="l00477"></a><span class="lineno">  477</span>&#160; </div>
<div class="line"><a name="l00478"></a><span class="lineno">  478</span>&#160;  <span class="keywordtype">int</span> qmfOutputRealDryDelayBufPos;</div>
<div class="line"><a name="l00479"></a><span class="lineno">  479</span>&#160;  FIXP_DBL ***qmfOutputRealDryDelayBuffer__FDK;</div>
<div class="line"><a name="l00480"></a><span class="lineno">  480</span>&#160;  FIXP_DBL ***qmfOutputImagDryFilterBuffer__FDK;</div>
<div class="line"><a name="l00481"></a><span class="lineno">  481</span>&#160;  FIXP_DBL *qmfOutputImagDryFilterBufferBase__FDK;</div>
<div class="line"><a name="l00482"></a><span class="lineno">  482</span>&#160; </div>
<div class="line"><a name="l00483"></a><span class="lineno">  483</span>&#160;  <span class="comment">/* TEMPORARY SIGNALS */</span></div>
<div class="line"><a name="l00484"></a><span class="lineno">  484</span>&#160; </div>
<div class="line"><a name="l00485"></a><span class="lineno">  485</span>&#160;  FIXP_DBL **wReal__FDK;</div>
<div class="line"><a name="l00486"></a><span class="lineno">  486</span>&#160;  FIXP_DBL **wImag__FDK;</div>
<div class="line"><a name="l00487"></a><span class="lineno">  487</span>&#160; </div>
<div class="line"><a name="l00488"></a><span class="lineno">  488</span>&#160;  <span class="comment">/* OUTPUT SIGNALS */</span></div>
<div class="line"><a name="l00489"></a><span class="lineno">  489</span>&#160;  FIXP_DBL **hybOutputRealDry__FDK;</div>
<div class="line"><a name="l00490"></a><span class="lineno">  490</span>&#160;  FIXP_DBL **hybOutputImagDry__FDK;</div>
<div class="line"><a name="l00491"></a><span class="lineno">  491</span>&#160;  FIXP_DBL **hybOutputRealWet__FDK;</div>
<div class="line"><a name="l00492"></a><span class="lineno">  492</span>&#160;  FIXP_DBL **hybOutputImagWet__FDK;</div>
<div class="line"><a name="l00493"></a><span class="lineno">  493</span>&#160;  PCM_MPS *timeOut__FDK;</div>
<div class="line"><a name="l00494"></a><span class="lineno">  494</span>&#160; </div>
<div class="line"><a name="l00495"></a><span class="lineno">  495</span>&#160;  <a class="code" href="struct_f_d_k___q_m_f___d_o_m_a_i_n.html">HANDLE_FDK_QMF_DOMAIN</a> pQmfDomain;</div>
<div class="line"><a name="l00496"></a><span class="lineno">  496</span>&#160; </div>
<div class="line"><a name="l00497"></a><span class="lineno">  497</span>&#160;  <a class="code" href="struct_f_d_k___a_n_a___h_y_b___f_i_l_t_e_r.html">FDK_ANA_HYB_FILTER</a></div>
<div class="line"><a name="l00498"></a><span class="lineno"><a class="line" href="structspatial_dec__struct.html#a9527535d38adc053c65dc3b8ec36e484">  498</a></span>&#160;  *<a class="code" href="structspatial_dec__struct.html#a9527535d38adc053c65dc3b8ec36e484">hybridAnalysis</a>; </div>
<div class="line"><a name="l00499"></a><span class="lineno">  499</span>&#160;  <a class="code" href="struct_f_d_k___s_y_n___h_y_b___f_i_l_t_e_r.html">FDK_SYN_HYB_FILTER</a></div>
<div class="line"><a name="l00500"></a><span class="lineno"><a class="line" href="structspatial_dec__struct.html#ab1c34d01a432c563ba550e58af6626d7">  500</a></span>&#160;  *<a class="code" href="structspatial_dec__struct.html#ab1c34d01a432c563ba550e58af6626d7">hybridSynthesis</a>; </div>
<div class="line"><a name="l00501"></a><span class="lineno">  501</span>&#160;  FIXP_DBL **</div>
<div class="line"><a name="l00502"></a><span class="lineno"><a class="line" href="structspatial_dec__struct.html#a93106dc321bd15801611166bb6981ff2">  502</a></span>&#160;      <a class="code" href="structspatial_dec__struct.html#a93106dc321bd15801611166bb6981ff2">pHybridAnaStatesLFdmx</a>; </div>
<div class="line"><a name="l00503"></a><span class="lineno">  503</span>&#160;  FIXP_DBL **</div>
<div class="line"><a name="l00504"></a><span class="lineno"><a class="line" href="structspatial_dec__struct.html#a6d7f75b8b09630ffdc7415db48a30307">  504</a></span>&#160;      <a class="code" href="structspatial_dec__struct.html#a6d7f75b8b09630ffdc7415db48a30307">pHybridAnaStatesHFdmx</a>; </div>
<div class="line"><a name="l00505"></a><span class="lineno">  505</span>&#160;  FIXP_DBL **</div>
<div class="line"><a name="l00506"></a><span class="lineno"><a class="line" href="structspatial_dec__struct.html#a308a58b40451c26ad8b282db062b20ef">  506</a></span>&#160;      <a class="code" href="structspatial_dec__struct.html#a308a58b40451c26ad8b282db062b20ef">pHybridAnaStatesLFres</a>; </div>
<div class="line"><a name="l00507"></a><span class="lineno">  507</span>&#160;  FIXP_DBL **</div>
<div class="line"><a name="l00508"></a><span class="lineno"><a class="line" href="structspatial_dec__struct.html#aa2ec0673fee9d65fc43550cf54a92754">  508</a></span>&#160;      <a class="code" href="structspatial_dec__struct.html#aa2ec0673fee9d65fc43550cf54a92754">pHybridAnaStatesHFres</a>; </div>
<div class="line"><a name="l00510"></a><span class="lineno"><a class="line" href="structspatial_dec__struct.html#a655037919db8985ae73006bcd44e3936">  510</a></span>&#160;  <a class="code" href="struct_d_e_c_o_r_r___d_e_c.html">DECORR_DEC</a> *<a class="code" href="structspatial_dec__struct.html#a655037919db8985ae73006bcd44e3936">apDecor</a>; </div>
<div class="line"><a name="l00511"></a><span class="lineno">  511</span>&#160;  FIXP_DBL **pDecorBufferCplx;</div>
<div class="line"><a name="l00512"></a><span class="lineno">  512</span>&#160; </div>
<div class="line"><a name="l00513"></a><span class="lineno"><a class="line" href="structspatial_dec__struct.html#a2f64d35e4a86391181b66493cfdfb5ca">  513</a></span>&#160;  <a class="code" href="struct_s_m_o_o_t_h_i_n_g___s_t_a_t_e.html">SMOOTHING_STATE</a> *<a class="code" href="structspatial_dec__struct.html#a2f64d35e4a86391181b66493cfdfb5ca">smoothState</a>; </div>
<div class="line"><a name="l00515"></a><span class="lineno"><a class="line" href="structspatial_dec__struct.html#a6b6eb32c8be5426e00bded1ba91c8c3f">  515</a></span>&#160;  <a class="code" href="struct_r_e_s_h_a_p_e___b_b_e_n_v___s_t_a_t_e.html">RESHAPE_BBENV_STATE</a> *<a class="code" href="structspatial_dec__struct.html#a6b6eb32c8be5426e00bded1ba91c8c3f">reshapeBBEnvState</a>; </div>
<div class="line"><a name="l00516"></a><span class="lineno">  516</span>&#160;  <a class="code" href="machine__type_8h.html#af3e70e9edd31fb299154d959c70ac6bf">SCHAR</a> row2channelDmxGES[MAX_OUTPUT_CHANNELS];</div>
<div class="line"><a name="l00517"></a><span class="lineno">  517</span>&#160; </div>
<div class="line"><a name="l00518"></a><span class="lineno"><a class="line" href="structspatial_dec__struct.html#acacff70877e932113efe3f386bb189f0">  518</a></span>&#160;  <a class="code" href="struct_s_t_p___d_e_c.html">HANDLE_STP_DEC</a> <a class="code" href="structspatial_dec__struct.html#acacff70877e932113efe3f386bb189f0">hStpDec</a>; </div>
<div class="line"><a name="l00520"></a><span class="lineno">  520</span>&#160;  <span class="keyword">const</span> <a class="code" href="machine__type_8h.html#aed5a2dbe32af3a91203f0f5e8697e873">UCHAR</a> *pActivM2ParamBands;</div>
<div class="line"><a name="l00521"></a><span class="lineno">  521</span>&#160; </div>
<div class="line"><a name="l00522"></a><span class="lineno">  522</span>&#160;  <span class="keywordtype">int</span> bOverwriteM1M2prev; <span class="comment">/* Overwrite previous M2/M2 params with first set of</span></div>
<div class="line"><a name="l00523"></a><span class="lineno">  523</span>&#160;<span class="comment">                             new frame after SSC change (aka</span></div>
<div class="line"><a name="l00524"></a><span class="lineno">  524</span>&#160;<span class="comment">                             decodeAfterConfigHasChangedFlag). */</span></div>
<div class="line"><a name="l00525"></a><span class="lineno">  525</span>&#160;  <a class="code" href="struct_spatial_dec_concealment_info.html">SpatialDecConcealmentInfo</a> concealInfo;</div>
<div class="line"><a name="l00526"></a><span class="lineno">  526</span>&#160; </div>
<div class="line"><a name="l00527"></a><span class="lineno">  527</span>&#160;  <a class="code" href="machine__type_8h.html#a4cf9af43a95c45c3d469658098dfbe1a">INT</a> sacInDataHeadroom; <span class="comment">/* Headroom of the SAC input time signal to prevent</span></div>
<div class="line"><a name="l00528"></a><span class="lineno">  528</span>&#160;<span class="comment">                            clipping */</span></div>
<div class="line"><a name="l00529"></a><span class="lineno">  529</span>&#160;};</div>
<div class="line"><a name="l00530"></a><span class="lineno">  530</span>&#160; </div>
<div class="line"><a name="l00531"></a><span class="lineno">  531</span>&#160;<span class="preprocessor">#define SACDEC_SYNTAX_MPS 1</span></div>
<div class="line"><a name="l00532"></a><span class="lineno">  532</span>&#160;<span class="preprocessor">#define SACDEC_SYNTAX_USAC 2</span></div>
<div class="line"><a name="l00533"></a><span class="lineno">  533</span>&#160;<span class="preprocessor">#define SACDEC_SYNTAX_RSVD50 4</span></div>
<div class="line"><a name="l00534"></a><span class="lineno">  534</span>&#160;<span class="preprocessor">#define SACDEC_SYNTAX_L2 8</span></div>
<div class="line"><a name="l00535"></a><span class="lineno">  535</span>&#160;<span class="preprocessor">#define SACDEC_SYNTAX_L3 16</span></div>
<div class="line"><a name="l00536"></a><span class="lineno">  536</span>&#160;<span class="preprocessor">#define SACDEC_SYNTAX_LD 32</span></div>
<div class="line"><a name="l00537"></a><span class="lineno">  537</span>&#160; </div>
<div class="line"><a name="l00538"></a><span class="lineno">  538</span>&#160;<span class="keyword">static</span> <span class="keyword">inline</span> <span class="keywordtype">int</span> GetProcBand(<a class="code" href="structspatial_dec__struct.html">spatialDec_struct</a> *<span class="keyword">self</span>, <span class="keywordtype">int</span> qs) {</div>
<div class="line"><a name="l00539"></a><span class="lineno">  539</span>&#160;  <span class="keywordflow">return</span> <span class="keyword">self</span>-&gt;kernels[qs];</div>
<div class="line"><a name="l00540"></a><span class="lineno">  540</span>&#160;}</div>
<div class="line"><a name="l00541"></a><span class="lineno">  541</span>&#160; </div>
<div class="line"><a name="l00542"></a><span class="lineno">  542</span>&#160;<span class="preprocessor">#endif </span><span class="comment">/* SAC_DEC_H */</span><span class="preprocessor"></span></div>
<div class="ttc" id="amachine__type_8h_html_a4cf9af43a95c45c3d469658098dfbe1a"><div class="ttname"><a href="machine__type_8h.html#a4cf9af43a95c45c3d469658098dfbe1a">INT</a></div><div class="ttdeci">signed int INT</div><div class="ttdef"><b>Definition:</b> machine_type.h:176</div></div>
<div class="ttc" id="amachine__type_8h_html_aed5a2dbe32af3a91203f0f5e8697e873"><div class="ttname"><a href="machine__type_8h.html#aed5a2dbe32af3a91203f0f5e8697e873">UCHAR</a></div><div class="ttdeci">unsigned char UCHAR</div><div class="ttdef"><b>Definition:</b> machine_type.h:190</div></div>
<div class="ttc" id="amachine__type_8h_html_af3e70e9edd31fb299154d959c70ac6bf"><div class="ttname"><a href="machine__type_8h.html#af3e70e9edd31fb299154d959c70ac6bf">SCHAR</a></div><div class="ttdeci">signed char SCHAR</div><div class="ttdef"><b>Definition:</b> machine_type.h:189</div></div>
<div class="ttc" id="astruct_b_s___l_l___s_t_a_t_e_html"><div class="ttname"><a href="struct_b_s___l_l___s_t_a_t_e.html">BS_LL_STATE</a></div><div class="ttdef"><b>Definition:</b> sac_dec.h:254</div></div>
<div class="ttc" id="astruct_d_e_c_o_r_r___d_e_c_html"><div class="ttname"><a href="struct_d_e_c_o_r_r___d_e_c.html">DECORR_DEC</a></div><div class="ttdef"><b>Definition:</b> FDK_decorrelate.h:204</div></div>
<div class="ttc" id="astruct_f_d_k___a_n_a___h_y_b___f_i_l_t_e_r_html"><div class="ttname"><a href="struct_f_d_k___a_n_a___h_y_b___f_i_l_t_e_r.html">FDK_ANA_HYB_FILTER</a></div><div class="ttdef"><b>Definition:</b> FDK_hybrid.h:123</div></div>
<div class="ttc" id="astruct_f_d_k___b_i_t_s_t_r_e_a_m_html"><div class="ttname"><a href="struct_f_d_k___b_i_t_s_t_r_e_a_m.html">FDK_BITSTREAM</a></div><div class="ttdef"><b>Definition:</b> FDK_bitstream.h:117</div></div>
<div class="ttc" id="astruct_f_d_k___q_m_f___d_o_m_a_i_n_html"><div class="ttname"><a href="struct_f_d_k___q_m_f___d_o_m_a_i_n.html">FDK_QMF_DOMAIN</a></div><div class="ttdef"><b>Definition:</b> FDK_qmf_domain.h:267</div></div>
<div class="ttc" id="astruct_f_d_k___s_y_n___h_y_b___f_i_l_t_e_r_html"><div class="ttname"><a href="struct_f_d_k___s_y_n___h_y_b___f_i_l_t_e_r.html">FDK_SYN_HYB_FILTER</a></div><div class="ttdef"><b>Definition:</b> FDK_hybrid.h:145</div></div>
<div class="ttc" id="astruct_l_o_s_s_l_e_s_s_d_a_t_a_html"><div class="ttname"><a href="struct_l_o_s_s_l_e_s_s_d_a_t_a.html">LOSSLESSDATA</a></div><div class="ttdef"><b>Definition:</b> sac_dec.h:195</div></div>
<div class="ttc" id="astruct_l_o_s_s_l_e_s_s_s_t_a_t_e_html"><div class="ttname"><a href="struct_l_o_s_s_l_e_s_s_s_t_a_t_e.html">LOSSLESSSTATE</a></div><div class="ttdef"><b>Definition:</b> sac_dec.h:190</div></div>
<div class="ttc" id="astruct_r_e_s_h_a_p_e___b_b_e_n_v___s_t_a_t_e_html"><div class="ttname"><a href="struct_r_e_s_h_a_p_e___b_b_e_n_v___s_t_a_t_e.html">RESHAPE_BBENV_STATE</a></div><div class="ttdef"><b>Definition:</b> sac_dec.h:271</div></div>
<div class="ttc" id="astruct_s_a_c_d_e_c___c_r_e_a_t_i_o_n___p_a_r_a_m_s_html"><div class="ttname"><a href="struct_s_a_c_d_e_c___c_r_e_a_t_i_o_n___p_a_r_a_m_s.html">SACDEC_CREATION_PARAMS</a></div><div class="ttdef"><b>Definition:</b> sac_dec.h:284</div></div>
<div class="ttc" id="astruct_s_m_o_o_t_h_i_n_g___s_t_a_t_e_html"><div class="ttname"><a href="struct_s_m_o_o_t_h_i_n_g___s_t_a_t_e.html">SMOOTHING_STATE</a></div><div class="ttdef"><b>Definition:</b> sac_dec.h:261</div></div>
<div class="ttc" id="astruct_s_p_a_t_i_a_l___b_s___f_r_a_m_e__struct_html"><div class="ttname"><a href="struct_s_p_a_t_i_a_l___b_s___f_r_a_m_e__struct.html">SPATIAL_BS_FRAME_struct</a></div><div class="ttdef"><b>Definition:</b> sac_dec.h:203</div></div>
<div class="ttc" id="astruct_s_p_a_t_i_a_l___b_s___f_r_a_m_e__struct_html_a0e056dd61b6ec27e095a73df80f9a6bc"><div class="ttname"><a href="struct_s_p_a_t_i_a_l___b_s___f_r_a_m_e__struct.html#a0e056dd61b6ec27e095a73df80f9a6bc">SPATIAL_BS_FRAME_struct::tempShapeEnableChannelSTP</a></div><div class="ttdeci">UCHAR tempShapeEnableChannelSTP[MAX_OUTPUT_CHANNELS]</div><div class="ttdef"><b>Definition:</b> sac_dec.h:249</div></div>
<div class="ttc" id="astruct_s_p_a_t_i_a_l___b_s___f_r_a_m_e__struct_html_a360b71394a3949f77ae2644b8f483b75"><div class="ttname"><a href="struct_s_p_a_t_i_a_l___b_s___f_r_a_m_e__struct.html#a360b71394a3949f77ae2644b8f483b75">SPATIAL_BS_FRAME_struct::bsEnvShapeData</a></div><div class="ttdeci">UCHAR bsEnvShapeData[MAX_OUTPUT_CHANNELS][MAX_TIME_SLOTS]</div><div class="ttdef"><b>Definition:</b> sac_dec.h:247</div></div>
<div class="ttc" id="astruct_s_p_a_t_i_a_l___b_s___f_r_a_m_e__struct_html_a81268ef21faea1309f8ecc032d279de4"><div class="ttname"><a href="struct_s_p_a_t_i_a_l___b_s___f_r_a_m_e__struct.html#a81268ef21faea1309f8ecc032d279de4">SPATIAL_BS_FRAME_struct::TsdData</a></div><div class="ttdeci">TSD_DATA TsdData[1]</div><div class="ttdef"><b>Definition:</b> sac_dec.h:251</div></div>
<div class="ttc" id="astruct_s_p_a_t_i_a_l___b_s___f_r_a_m_e__struct_html_addcd17c53bc254d2847377b2b0ef0f27"><div class="ttname"><a href="struct_s_p_a_t_i_a_l___b_s___f_r_a_m_e__struct.html#addcd17c53bc254d2847377b2b0ef0f27">SPATIAL_BS_FRAME_struct::tempShapeEnableChannelGES</a></div><div class="ttdeci">UCHAR tempShapeEnableChannelGES[MAX_OUTPUT_CHANNELS]</div><div class="ttdef"><b>Definition:</b> sac_dec.h:245</div></div>
<div class="ttc" id="astruct_s_t_p___d_e_c_html"><div class="ttname"><a href="struct_s_t_p___d_e_c.html">STP_DEC</a></div><div class="ttdef"><b>Definition:</b> sac_stp.cpp:189</div></div>
<div class="ttc" id="astruct_spatial_dec_concealment_info_html"><div class="ttname"><a href="struct_spatial_dec_concealment_info.html">SpatialDecConcealmentInfo</a></div><div class="ttdef"><b>Definition:</b> sac_dec_conceal.h:155</div></div>
<div class="ttc" id="astruct_t___s_p_a_t_i_a_l___s_p_e_c_i_f_i_c___c_o_n_f_i_g_html"><div class="ttname"><a href="struct_t___s_p_a_t_i_a_l___s_p_e_c_i_f_i_c___c_o_n_f_i_g.html">T_SPATIAL_SPECIFIC_CONFIG</a></div><div class="ttdef"><b>Definition:</b> sac_dec_ssc_struct.h:229</div></div>
<div class="ttc" id="astruct_t_s_d___d_a_t_a_html"><div class="ttname"><a href="struct_t_s_d___d_a_t_a.html">TSD_DATA</a></div><div class="ttdef"><b>Definition:</b> sac_tsd.h:112</div></div>
<div class="ttc" id="astructspatial_dec__struct_html"><div class="ttname"><a href="structspatial_dec__struct.html">spatialDec_struct</a></div><div class="ttdef"><b>Definition:</b> sac_dec.h:302</div></div>
<div class="ttc" id="astructspatial_dec__struct_html_a2f64d35e4a86391181b66493cfdfb5ca"><div class="ttname"><a href="structspatial_dec__struct.html#a2f64d35e4a86391181b66493cfdfb5ca">spatialDec_struct::smoothState</a></div><div class="ttdeci">SMOOTHING_STATE * smoothState</div><div class="ttdef"><b>Definition:</b> sac_dec.h:513</div></div>
<div class="ttc" id="astructspatial_dec__struct_html_a308a58b40451c26ad8b282db062b20ef"><div class="ttname"><a href="structspatial_dec__struct.html#a308a58b40451c26ad8b282db062b20ef">spatialDec_struct::pHybridAnaStatesLFres</a></div><div class="ttdeci">FIXP_DBL ** pHybridAnaStatesLFres</div><div class="ttdef"><b>Definition:</b> sac_dec.h:506</div></div>
<div class="ttc" id="astructspatial_dec__struct_html_a655037919db8985ae73006bcd44e3936"><div class="ttname"><a href="structspatial_dec__struct.html#a655037919db8985ae73006bcd44e3936">spatialDec_struct::apDecor</a></div><div class="ttdeci">DECORR_DEC * apDecor</div><div class="ttdef"><b>Definition:</b> sac_dec.h:510</div></div>
<div class="ttc" id="astructspatial_dec__struct_html_a6b6eb32c8be5426e00bded1ba91c8c3f"><div class="ttname"><a href="structspatial_dec__struct.html#a6b6eb32c8be5426e00bded1ba91c8c3f">spatialDec_struct::reshapeBBEnvState</a></div><div class="ttdeci">RESHAPE_BBENV_STATE * reshapeBBEnvState</div><div class="ttdef"><b>Definition:</b> sac_dec.h:515</div></div>
<div class="ttc" id="astructspatial_dec__struct_html_a6d7f75b8b09630ffdc7415db48a30307"><div class="ttname"><a href="structspatial_dec__struct.html#a6d7f75b8b09630ffdc7415db48a30307">spatialDec_struct::pHybridAnaStatesHFdmx</a></div><div class="ttdeci">FIXP_DBL ** pHybridAnaStatesHFdmx</div><div class="ttdef"><b>Definition:</b> sac_dec.h:504</div></div>
<div class="ttc" id="astructspatial_dec__struct_html_a93106dc321bd15801611166bb6981ff2"><div class="ttname"><a href="structspatial_dec__struct.html#a93106dc321bd15801611166bb6981ff2">spatialDec_struct::pHybridAnaStatesLFdmx</a></div><div class="ttdeci">FIXP_DBL ** pHybridAnaStatesLFdmx</div><div class="ttdef"><b>Definition:</b> sac_dec.h:502</div></div>
<div class="ttc" id="astructspatial_dec__struct_html_a9527535d38adc053c65dc3b8ec36e484"><div class="ttname"><a href="structspatial_dec__struct.html#a9527535d38adc053c65dc3b8ec36e484">spatialDec_struct::hybridAnalysis</a></div><div class="ttdeci">FDK_ANA_HYB_FILTER * hybridAnalysis</div><div class="ttdef"><b>Definition:</b> sac_dec.h:498</div></div>
<div class="ttc" id="astructspatial_dec__struct_html_aa2ec0673fee9d65fc43550cf54a92754"><div class="ttname"><a href="structspatial_dec__struct.html#aa2ec0673fee9d65fc43550cf54a92754">spatialDec_struct::pHybridAnaStatesHFres</a></div><div class="ttdeci">FIXP_DBL ** pHybridAnaStatesHFres</div><div class="ttdef"><b>Definition:</b> sac_dec.h:508</div></div>
<div class="ttc" id="astructspatial_dec__struct_html_ab1c34d01a432c563ba550e58af6626d7"><div class="ttname"><a href="structspatial_dec__struct.html#ab1c34d01a432c563ba550e58af6626d7">spatialDec_struct::hybridSynthesis</a></div><div class="ttdeci">FDK_SYN_HYB_FILTER * hybridSynthesis</div><div class="ttdef"><b>Definition:</b> sac_dec.h:500</div></div>
<div class="ttc" id="astructspatial_dec__struct_html_acacff70877e932113efe3f386bb189f0"><div class="ttname"><a href="structspatial_dec__struct.html#acacff70877e932113efe3f386bb189f0">spatialDec_struct::hStpDec</a></div><div class="ttdeci">HANDLE_STP_DEC hStpDec</div><div class="ttdef"><b>Definition:</b> sac_dec.h:518</div></div>
<div class="ttc" id="astructspatial_dec__struct_html_acbba2e819bbc92db6d26c79a30c8c453"><div class="ttname"><a href="structspatial_dec__struct.html#acbba2e819bbc92db6d26c79a30c8c453">spatialDec_struct::TsdTs</a></div><div class="ttdeci">int TsdTs</div><div class="ttdef"><b>Definition:</b> sac_dec.h:375</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1
</small></address>
</body>
</html>
